package com.ruoyi.app.model.entity

import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass

@JsonClass(generateAdapter = true)
class UserInfoEntidy {
    var sex: String? = null
    var createTime: String? = null
    var email: String? = null
    var nickName: String? = null
    var phonenumber: String? = null
    var imgUrl: String? = null
}

@JsonClass(generateAdapter = true)
data class UserResult<T>(
    val code: Int,
    val msg: String,
    @Json(name = "data")
    val data: T,
    val postGroup: String,
    val roleGroup: String
)